<include file="Public/header"/>
	<div class="wrapperBox">
 
			<div class="help-l fl">
			    <div class="help-item">
			        <div class="help-item-title">个人中心
			            <a href="javascript:void(0)" class="abs"></a>
			        </div>
			        <div class="help-item-list">
			            <ul>
                            <li><a href="{:U('myaccount')}">账户余额</a></li>
			                <li><a href="{:U('index')}">编辑资料</a></li>
			                <li><a href="{:U('myJoin')}">我参与的</a></li>
			                <li><a href="{:U('myFollow')}">我关注的</a></li>
			                <li><a href="{:U('myHost')}">我发布的</a></li>
			                <li><a href="{:U('invited')}">邀请回答</a></li>
			            </ul>
			        </div>
			    </div>
			</div>

<div class="help-r fr" style="min-height:400px;">
	<div class="help-item-title">{$localTitle}
	 <a class="barbecue" dialog_id="edit" nc_type="dialog" dialog_title="自由发布" dialog_width="500" uri="{:U('hosting')}" href="javascript:void(0);"><i class="fa-ico"></i>自由发布</a>
        <a class="barbecue" href="{:U('pd_recharge_add')}"><i class="fa-ico"></i>在线充值</a>
    </div>

	<div class="participation">
		<div class="argue-nav">
			<ol>
				<li <if condition="ACTION_NAME eq myaccount">class="on"</if>><a class="argue-nav-top" href="{:U('myaccount')}">账户余额</a></li>
				<li <if condition="ACTION_NAME eq pd_recharge">class="on"</if>><a class="argue-nav-top" href="{:U('pd_recharge')}">充值明细</a></li>
				<li <if condition="ACTION_NAME eq pd_cash_list">class="on"</if>><a class="argue-nav-top" href="{:U('pd_cash_list')}">余额提现</a></li>

			</ol>
			<div class="clear"></div>
		</div>
        <!--列表-->
        <div class="attention-container">
            <table class="table tb-type2">
                <thead>
                <tr class="thead">
                    <!--<th class="w48"></th>-->
                    <th class="w120">充值单号</th>
                    <th class="w120">创建时间</th>
                    <th class="w72">支付方式</th>
                    <th class="w120">充值金额(元)</th>
                    <th class="w72">状态</th>
                    <th class="w200 align-center">操作</th>
                </tr>
                </thead>
                <tbody>
                <notempty name="list">
                    <volist name="list" id="vo">
                        <tr class="hover edit" style="background: rgb(255, 255, 255);">
                            <!--<td><input type="checkbox" value="21" class="checkitem"></td>-->
                            <td>{$vo['pdr_sn']}</td>
                            <td>{:date('Y-m-d H:i:s',$vo['pdr_add_time'])}</td>
                            <td>{$vo['pdr_payment_name']}</td>
                            <td class="red">+{$vo['pdr_amount']}</td>
                            <td>{$vo['pdr_payment_state']?'已支付':'未支付'}</td>
                            <td class="align-center">
                            <if condition="intval($vo['pdr_payment_state']) eq 0">
                                <a class="" href="">支付</a>
                                <a href='javascript:if(confirm("确定要删除？"))window.location ="";'>删除</a>

                            <else />
                                <a class="" href="{:U('pd_recharge_view',array('id'=>$vo['pdr_id']))}">查看</a>
                            </if>
                            </td>
                        </tr>
                    </volist>
                </notempty>
                <!-- 如果没有数据 -->
                <empty name="list">
                <tr>
                    <td colspan="20"><div>没有数据哦，加油哟！</div></td>
                </tr>
                </empty>
                </tbody>
                <tfoot>
                <tr class="tfoot">
                    <td>
                        <!--<input type="checkbox" class="checkall" id="checkall_1">-->
                    </td>
                    <td id="batchAction" colspan="15">
                        <!--<span class="all_checkbox">-->
                        <!--<label for="checkall_1">全选</label>-->
                        <!--</span>&nbsp;&nbsp; <a href="javascript:void(0)" class="btn" onclick="submit_delete_batch();"><span>删除</span></a>-->
                        <!--<div class="pagination"><div></div></div>-->
                        <!--分页-->
                        <div class="pro_page" style="float: right;">  {$page}</div>
                    </td>
                </tr>
                </tfoot>
            </table>
        </div>
	</div>
</div>
<div class="clear"></div>
<script type="text/javascript" src="__STATIC__/common.js"></script>  
<script language="javascript" src="__STATIC__/dialog/dialog.js"  id="dialog_js" charset="utf-8"> </script> 
<script type="text/javascript" src="__STATIC__/jquery-ui/jquery.ui.js"></script> 
<script type="text/javascript" src="__STATIC__/jquery-ui/i18n/zh-CN.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="__STATIC__/jquery-ui/themes/ui-lightness/jquery.ui.css"  />
<link href="__STATIC__/dialog/custom.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
$('a[nc_type="dialog"]').click(function(){
	var id = $(this).attr('dialog_id');
	var title = $(this).attr('dialog_title') ? $(this).attr('dialog_title') : '';
	var url = $(this).attr('uri');
	var width = $(this).attr('dialog_width');
	CUR_DIALOG = ajax_form(id, title, url, width,0);
	return false;
});
</script>
<include file="Public/footer"/>